Skip to content

Conversation

@dippindots
Copy link
Collaborator

@dippindots dippindots commented Oct 30, 2025

The Problem:

  • One of api-spec-converter's deep dependencies (@noble/hashes) was updated to a version that
    requires Node 16+ (it uses node:crypto syntax that Node 15.2.1 doesn't support)
  • The dependency chain api-spec-converter → sway → path-loader → superagent → formidable → @paralleldrive/cuid2 → @noble/hashes pulled in @noble/[email protected], which:
    1. Uses the node:crypto syntax (requires Node 16+)
    2. Has an engine requirement of Node ^14.21.3 or >=16

The Fix:

Added resolutions to package.json to lock problematic dependencies to Node 15-compatible versions:

  "resolutions": {
    "mobx": "^6.0.0",
    "mobx-react": "6.0.0",
    "formidable": "^2.1.2",
    "@noble/hashes": "1.2.0"
  }

@dippindots dippindots self-assigned this Oct 30, 2025
@dippindots dippindots added dependencies Pull requests that update a dependency file chore This PR is related to code maintenance labels Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore This PR is related to code maintenance dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant